﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

using FCNS.KeepMoney.Util;

namespace FCNS.KeepMoney.Configuration
{
   public sealed class AceChart
    {
       bool d=false;
       public bool Enable3D
       {
           get { return d; }
           set { d = value; }
       }

       ChartType ptype = ChartType.Line;
       public ChartType DefaultChart
       {
           get { return ptype; }
           set { ptype = value; }
       }

       bool lineMode = true;
       /// <summary>
       /// 日图表 - true 按月天数显示; false 只显示具有账务记录的天数
       /// </summary>
       public bool LineMode
       {
           get { return lineMode; }
           set { lineMode = value; }
       }

       bool hideZero = false;
       /// <summary>
       /// 是否隐藏 0 值
       /// </summary>
       public bool HideZero
       {
           get { return hideZero; }
           set { hideZero = value; }
       }

       bool expensesDisplayedAsNegative = false;
       /// <summary>
       /// 是否将支出显示为负值
       /// </summary>
       public bool ExpensesDisplayedAsNegative
       {
           get { return expensesDisplayedAsNegative; }
           set { expensesDisplayedAsNegative = value; }
       }

       int pointDepth = 100;
       public int PointDepth
       {
           get { return pointDepth; }
           set { pointDepth = value; }
       }

       int gapDepth = 100;
       public int GapDepth
       {
           get { return gapDepth; }
           set { gapDepth = value; }
       }
    }
}
